package com.st;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.web.bind.annotation.CrossOrigin;
import util.UserInfoUtil;

import java.util.Date;

@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients(basePackages = {"com.api.login"})
@MapperScan("com.st.mapper")
public class RegisterApp {
    public static void main(String[] args) {
        SpringApplication.run(RegisterApp.class,args);
        String stringRandom = UserInfoUtil.getStringRandom(8);
        System.out.println(stringRandom);
    }
}
